package com.yanqu.road.entity.log.curio;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;
import com.yanqu.road.entity.log.maidian.BaseLogEntity;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_curio_lottery", desc = "淘宝", autoSave = true, dataUpload = true, eventName = "treasure_get", uploadCk = true)
public class LogCurioLottery extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "玩家id", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "0 一次；1 十次")
    private int type;

    @FieldTypeAnnotation(dataAttribute = "treasure_get_reward",desc = "奖励")
    private String reward;

    public LogCurioLottery(long userId, int type, String reward) {
        this.userId = userId;
        this.type = type;
        this.reward = reward;
    }

    public long getUserId() {
        return userId;
    }

}
